package com.github.baichuan.application.scaffold.jpa.application;

import com.github.baichuan.application.scaffold.domain.application.Realm;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.Optional;

public interface RealmRepository extends JpaRepository<Realm, String>, JpaSpecificationExecutor<Realm> {

    Optional<Realm> findByName(String name);
}
